<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
%>
<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <title>赚钱攻略</title>
    <script type="text/javascript" src="<%=path %>/static/js/jquery.js"></script>
    <script type="text/javascript" src="<%=path %>/static/js/formview.js?v=1"></script>
    <script type="text/javascript" src="<%=path %>/static/js/tool.js"></script>
    <script type="text/javascript" src="<%=path %>/static/layer/layer.js"></script>
    <script type="text/javascript" src="js/js.js"></script>
    <link rel="stylesheet" type="text/css" href="css/css.css?v=1" />
    <link rel="stylesheet" type="text/css" href="swipe/swipe.css">
</head>
<body>
   <form id="form1">
      <div class="mainbody">
         <div class="addWrap">
           <div class="swipe" id="mySwipe">
           <div class="swipe-wrap">
              <div>
                 <img class="img-responsive" src="images/raiders1.png" />
              </div>
              <div>
                 <img class="img-responsive" src="images/raiders2.png" />
              </div>
              <div>
                  <img class="img-responsive" src="images/raiders3.png" />
              </div>
              <div>
                  <img class="img-responsive" src="images/raiders4.png" />
              </div>
           </div>
           </div>
           <ul id="position">
              <li class="cur"></li>
              <li></li>
              <li></li>
              <li></li>
           </ul>
           </div>
      </div>
   </form>
   <script src="swipe/swipe.js"></script>
   <script>
      var bullets = document.getElementById('position').getElementsByTagName('li');
      var banner = Swipe(document.getElementById('mySwipe'), {
      	 auto: 5000,
      	 continuous: true,
      	 disableScroll:false,
      	 callback: function(pos) {
      		var i = bullets.length;
      		while (i--) {
      		  bullets[i].className = ' ';
      		}
      		bullets[pos].className = 'cur';
      	}
      });
   </script>
</body>
</html>
